/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ivanbiz.user;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionMapping;

/**
 *
 * @author Ivan
 */
public class UserForm extends org.apache.struts.validator.ValidatorForm {

    private long id;
    private String userName;
    private String password;
    private String nama;
    private long departement;
    private String search;
    private String bahasa;

    public String getBahasa() {
        return bahasa;
    }

    public void setBahasa(String bahasa) {
        this.bahasa = bahasa;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getDepartement() {
        return departement;
    }

    public void setDepartement(long departement) {
        this.departement = departement;
    }

    public String getNama() {
        return nama;
    }

    public void setNama(String nama) {
        this.nama = nama;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        this.userName = null;
        this.nama = null;
        this.password = null;
    }
}
